package top.ahzy.seobench.service;

import top.ahzy.seobench.model.entity.User;
import top.ahzy.seobench.model.req.PageParam;
import top.ahzy.seobench.model.req.UserEditReq;
import top.ahzy.seobench.model.req.UserLoginReq;
import top.ahzy.seobench.model.rsp.UserLoginRsp;
import top.ahzy.seobench.result.Result;
import top.ahzy.seobench.result.ResultList;

public interface UserService {
    Result<UserLoginRsp> login(UserLoginReq param);

    Result<String> out();

    Result<String> edit(UserEditReq param);

    Result<ResultList<User>> list(PageParam param);
}
